package com.zt.common.Do;

import com.zt.common.pojo.ActiveClass;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * description: 用于接收学生端activeClass模块dao层数据
 * author:zt
 * date:2022-01-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class ClassWithTeachDO extends ActiveClass implements Cloneable{

    private String courseName;

    private String teacherName;

    private String avatar;

    @Override
    public ClassWithTeachDO clone() {
        try {
            return (ClassWithTeachDO) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
    }
}
